package com.xr.blog.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 文章与标签的对应关系
 * 
 * @author XRJ
 * @email 1033835209@qq.com
 * @date 2020-07-07 20:31:38
 */
@Data
@TableName("blog_article_tag")
public class BlogArticleTag implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 文章ID
	 */
	private Long articleId;
	/**
	 * 标签ID
	 */
	private Long tagId;

	public BlogArticleTag(Long articleId,Long tagId){
		this.articleId=articleId;
		this.tagId=tagId;
	}

}
